
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <stdio.h>
using namespace cv;  
using namespace std; 
int main(int argc, char* argv[])  
{  
    Mat image;  
    
 
    if (argc != 2 || !image.data)   
    {  
        printf("No image data\n");  
        return -1;  
    }  
 image = imread(argv[1], 1);  
    namedWindow("Display Image");  
    imshow("Display Image", image);  
    waitKey(0);  
    return 0;  
}
